package com.dubbo.demo.provider;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @Author: zj
 * @Description:
 * @Date: Created in 11:41 2020/8/10
 * @Modified By:
 */
@SpringBootApplication
@DubboComponentScan(basePackages = "com.dubbo.demo.provider")
@EnableDubbo
public class UserProviderApplicationBootStrap {

    public static void main(String[] args) {
        new SpringApplicationBuilder(UserProviderApplicationBootStrap.class)
                .web(WebApplicationType.NONE)
                .run(args);
    }
}
